const mongoose = require("mongoose")

mongoose.connect("mongodb+srv://3589377338:123456dyx@cluster0.ttfpy.mongodb.net/")

const conn = mongoose.connection

conn.on("open",()=>{
    console.log('连接成功');
})

module.exports = mongoose

